package com.str;

import java.util.Arrays;

public class strarray {
	public static void main(String[] args) {
	String s[]=new String [3];
	String s1[]={"123","12343"};
//	s=s1;
//	if(Arrays.equals(s, s1)){
//		System.out.println("===");
//	}else{
//		System.out.println("!=");
//	}
	
	String city="吐鲁番市";
	if(city.endsWith("市")){
		city=city.substring(0, city.length()-1);
	}
	String city2="吐鲁番地区";
	if(city2.contains(city)){
		System.out.println("contain");
	}
	
}
}
